package Exception;

import java.util.ArrayList;

public class ExceptionVM extends Exception{

	private ArrayList<String> transaction;
	private int stillProcessed;
	
	public ExceptionVM(ArrayList<String> transaction, int count) {
		super("Nao conseguira atender o SLA sozinho!");
		stillProcessed = count;
		this.transaction= transaction;
	}

	public int getStillProcessed() {
		return stillProcessed;
	}

	public void setStillProcessed(int count) {
		this.stillProcessed = count;
	}

	public ArrayList<String> getTransaction() {
		return transaction;
	}

	public void setTransaction(ArrayList<String> transaction) {
		this.transaction = transaction;
	}

}
